package com.xqls.biz;

import java.util.Date;
import java.util.List;
import java.util.Map;

import javax.mail.internet.InternetAddress;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.omg.CORBA.INTERNAL;

import com.xqls.bean.FlowMeterBean;
import com.xqls.dal.model.FlowMeter;
import com.xqls.util.CommonPage;
import com.xqls.util.CommonResult;
import com.xqls.util.DictionaryEnums;

public interface FlowMeterBiz {
	
	public CommonResult addFlowRole(FlowMeterBean flowMeterBean);
	
	public CommonResult editFlowRole(FlowMeterBean flowMeterBean);
	
	public CommonResult getFlowByPage(CommonPage commonPage, HttpServletRequest request, HttpServletResponse response);
	
	public CommonResult getByPage(CommonPage commonPage, HttpServletRequest request, HttpServletResponse response);
	
	public  CommonResult deleteFlowRole(List<Integer> ids);
	
	public List<Map<String, Object>> queryByMap(Map<String, Object> map);
	
	public FlowMeterBean queryByKey(Integer key);
	
	public FlowMeter queryByClose(String close,String deviceNo);
	
	List<FlowMeter> getList();
	
	public List<FlowMeter> selectBySmonth(Date close,String deviceNo);
	
	public CommonResult selectBySmonth(CommonPage commonPage, HttpServletRequest request, HttpServletResponse response);
	
	public List<Map<String, Object>> queryselectflowcost(Integer companyId,String closeMonth);
	
	void getListByMap(HttpServletRequest request, HttpServletResponse response,Map<String, Object> map);
	
	public FlowMeter selflow(FlowMeterBean flowMeterBean);
	
}
